GPU lockup with mesa-git and llvm-svn with rx 470 on Unigine Heaven and TombRaider 2013
https://bugs.freedesktop.org/show_bug.cgi?id=97806
Bug ID: 97806
Summary: GPU lockup with mesa-git and llvm-svn with rx 470 on
Unigine Heaven and TombRaider 2013
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Just swithed from a R9 380 to a RX 470, from the first tests i have a GPU lockup on the first frames with Unigine Heaven and Tom Raider 2013 benchmark.
* mesa-git a1e49b / llvm-svn trunk 281305
* AMD RX 470 nitro+ OC 8gB - AMD POLARIS10 (DRM 3.2.0 / 4.7.3-2-ARCH, LLVM 4.0.0) (0x67df)
* latest linux-firmware
It doesn't lockup with mesa-12.0.2 with llvm-3.8.1
I've also tried mesa-git with llvm-3.8.1 and it doesn't lockup too.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #1 from Laurent carlier <[email protected]> --- Oops it's with kernel 4.7.3
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #2 from Nicolai Hähnle <[email protected]> ---
LLVM 3.8 is already fairly old for graphics stack standards. Can you try with current trunk?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #3 from Laurent carlier <[email protected]> --- (In reply to Nicolai Hähnle from comment #2)
Quoted 2 lines
LLVM 3.8 is already fairly old for graphics stack standards. Can you try with current trunk?
Already done :) and i have a gpu lockup with mesa-git trunk with llvm-svn trunk. It's working with mesa-git trunk with llvm-3.8.1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #4 from Laurent carlier <[email protected]> --- (In reply to Nicolai Hähnle from comment #2)
Quoted 2 lines
LLVM 3.8 is already fairly old for graphics stack standards. Can you try with current trunk?
No GPU lockup with llvm-3.9.0/mesa-git
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #5 from Michel Dänzer <[email protected]> ---
The obvious next step would be bisecting LLVM, but be warned that it can be a little painful, as you may have to find different Mesa Git snapshots to build and work with different LLVM Git snapshots.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #6 from Laurent carlier <[email protected]> --- Bisecting gives me:c220fde748d8b296c46498b37753c494a57e2ee9 is the first bad commit commit c220fde748d8b296c46498b37753c494a57e2ee9
Author: Valery Pykhtin <[email protected]> Date: Sat Sep 10 13:09:16 2016 +0000
[AMDGPU] Refactor MUBUF/MTBUF instructions
Differential revision: https://reviews.llvm.org/D24295
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281137
91177308-0d34-0410-b5e6-96231b3b80d8
:040000 040000 836a392130fd7b35b72ad5a681278a6b5f27125807e868b807f3eed07c1cc7dd7c766d630f0f9480 M lib
Bisected from llvm-git mirror
$ git bisect log git bisect start # good: [5337a14483af37562e99cd0bb35f1aa06b9ab7ec] Bump the trunk version to 4.0.0svn. git bisect good 5337a14483af37562e99cd0bb35f1aa06b9ab7ec # bad: [f31e66357099bc37f69d251b016fe70ac0b595d3] [PM] Port CFGViewer and CFGPrinter to the new Pass Manager Differential Revision: https://reviews.llvm.org/D24592 git bisect bad f31e66357099bc37f69d251b016fe70ac0b595d3 # good: [12dc55cb60365c7a75a868e3ce468396ceaf4986] [Hexagon] Improve test to check for @PCREL, only run llc, not opt -> llc. git bisect good 12dc55cb60365c7a75a868e3ce468396ceaf4986 # good: [605a81a85c4c0426b4a59a3a4afeda020eb92316] AMDGPU: Relax SGPR asm constraint register class git bisect good 605a81a85c4c0426b4a59a3a4afeda020eb92316 # good: [6d2157da81ba33f283ec7fa6c428bf63594a5715] [AA] Fix typo in comment (s/hase/has). git bisect good 6d2157da81ba33f283ec7fa6c428bf63594a5715 # bad: [0aa0c7d910cfa845790645e9d124e4162f9fc44b] Revert "[ARM] Promote small global constants to constant pools" git bisect bad 0aa0c7d910cfa845790645e9d124e4162f9fc44b # good: [1f4e68f079c8fa2a39912c50e3fa984133d7a770] [cmake] Export gtest/gtest_main and its dependencies via a special build tree only cmake exports file. git bisect good 1f4e68f079c8fa2a39912c50e3fa984133d7a770 # bad: [d3eebe7daf2b913d5b1b79ce523c090c64bd4212] [AVX-512] Add test cases to demonstrate opportunities for commuting vpternlog. Commuting will be added in a future commit. git bisect bad d3eebe7daf2b913d5b1b79ce523c090c64bd4212 # good: [da28e63a7469154c6888e0c70b1cad54cd7668bf] AMDGPU: Fix scheduling info for spill pseudos git bisect good da28e63a7469154c6888e0c70b1cad54cd7668bf # bad: [df708a504e06b5769348b09240abcfa8b7aa3a28] Add an isSwiftError predicate to Value git bisect bad df708a504e06b5769348b09240abcfa8b7aa3a28 # bad: [c220fde748d8b296c46498b37753c494a57e2ee9] [AMDGPU] Refactor MUBUF/MTBUF instructions git bisect bad c220fde748d8b296c46498b37753c494a57e2ee9 # good: [b7ef2005d10c48e878a1b19b504e1386f6e9e7cd] [WebAssembly] Fix typos in comments git bisect good b7ef2005d10c48e878a1b19b504e1386f6e9e7cd # good: [68d7a57aba91c4ebb4f83caf1bf539d16b317c90] [gold/LTO] Add test case for r281134 git bisect good 68d7a57aba91c4ebb4f83caf1bf539d16b317c90 # first bad commit: [c220fde748d8b296c46498b37753c494a57e2ee9] [AMDGPU] Refactor MUBUF/MTBUF instructions
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #7 from Laurent carlier <[email protected]> --- I have the gpu lockup with Unigine Heaven only when tesselation is enabled regardless of the level
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #8 from Tom Stellard <[email protected]> --- Can you post good/bad shader logs: R600_DEBUG=ps,gs,vs,cs,tcs,tes
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #9 from Laurent carlier <[email protected]> --- Created attachment 126709
--> https://bugs.freedesktop.org/attachment.cgi?id=126709&action=edit
output of R600_DEBUG=ps,gs,vs,cs,tcs,tes ./heaven with tesselation extreme -> lockup
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #10 from Laurent carlier <[email protected]> --- Created attachment 126712
--> https://bugs.freedesktop.org/attachment.cgi?id=126712&action=edit
output of R600_DEBUG=ps,gs,vs,cs,tcs,tes ./heaven with tesselation extreme and llvm-3.9.0 -> good
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #11 from Nicolai Hähnle <[email protected]> ---
Could you please also run the hanging setup with GALLIUM_DDEBUG="pipelined 1000"? That should produce a file in ~/ddebug_dumps/ which will allow isolating the problematic shader.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
--- Comment #12 from Laurent carlier <[email protected]> --- Created attachment 126713
--> https://bugs.freedesktop.org/attachment.cgi?id=126713&action=edit
GALLIUM_DDEBUG="pipelined 1000" ./heaven
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97806
Laurent carlier <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #13 from Laurent carlier <[email protected]> --- Fixed with llvm commit:
Author: vpykhtin
Date: Fri Sep 23 16:21:21 2016
New Revision: 282296
URL: http://llvm.org/viewvc/llvm-project?rev=282296&view=rev
Log:
[AMDGPU] Fix for bz30427: wrong MTBUF encoding on VI
Differential revision: https://reviews.llvm.org/D24875
--
llvm bug report https://llvm.org/bugs/show_bug.cgi?id=30427
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel